package com.example.demo.service;

import com.example.demo.pojo.Module;
import com.example.demo.pojo.Role;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface RoleService {
    void add(Role role);

    PageInfo queryEnchanter(int page, int limit);

    void update(Role role);

    boolean del(int id);

    List<Module> getlevel(String idlist);

    Role idlist(String role);

    String getlevelAll();
}
